home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / GraphicViewers / ViewGif2 / Source / FileQueue.doc < prev    next >
Text File  |  1990-02-21  |  2KB  |  30 lines

  1. FileQueue
  2.  
  3.  
  4. DESCRIPTION
  5.  
  6. The FileQueue Class is an Interface Builder Module to implement a queue of strings, like a list of files.  A panel can be displayed that will show the files in the queue, and allow the user to remove or adjust the order of items.  The calling object has the option of requesting items immediately, or via a target-action technique to receive files when the FileQueue instance is ready.
  7.  
  8.  
  9. FEATURES
  10.  
  11. • The items can be returned via an immediate function to get the next item, or by notifying the queue to send the next available item - this target-action like technique allows the pause button to be used effectively.
  12.  
  13. • The control panel is configured in the IB, including the matrix used to hold the items.  This allows the font, spacing, and positioning to be set quite easily.
  14.  
  15. • The queue was designed to hold a list of files pending processing, but can hold any list of strings.
  16.  
  17. USAGE
  18.  
  19. Install the module in the Interface Builder by opening the Project Inspector panel and adding the .h&m, and .nib files to the Files section.  You must call one of the new class methods from your own code.  A GIF file viewing program is forthcoming that uses this module.
  20.  
  21. Since this is one of the first Public Domain NeXT objects, comments are welcomed to help make this code useful.  The code is intended to provide clear, correct use of the Application Kit, rather than fast, but dirty code.
  22.  
  23.  
  24. Carl F. Sutter
  25. Academic Software Development Consultant
  26. University of Southern California
  27. University Computing Services
  28. (213) 743-3826   sutter@ozone.usc.edu (NeXT mail)
  29.  
  30.